<@front.html>
	<div class="project">
    	<div class="prowarp">
        	<div class="left">
                <div class="list">
                    <div class="top"><img src="${base}/images/list_top2.gif" /></div>
                    <div class="midx">
                        <ul class="fat">
                            <li><span><a href="${base}/member/">最新加入</a></span></li>
                            <li class="check"><span><a href="${base}/member/">媒体/品牌(26)</a></span></li>
                            <li><span><a href="${base}/member/">娱乐/销售</a></span></li>
                            <li><span><a href="${base}/member/">文化/传媒</a></span></li>
                            <li><span><a href="${base}/member/">创意/广告</a></span></li>
                        </ul>
                      
                    </div>
                    <div class="bot"><img src="${base}/images/list_bottom.gif" /></div>
                </div>
          </div>
        	<div class="peoright">
            	<div class="org_in">
                	<img src="${base}/images/org_member.gif" />
                </div>
                
                <div class="org_alltitle">
                	<img src="${base}/images/alltitle.gif" />
                </div>
                
                <#if (userPage.result)??>
				<#list userPage.result as user>
                <div class="memberbox">
					<div class="peoimg">
						<#if (user.avatar)??>
							<a href="${base}/space/?domain=${(user.loginName)!}" target="_blank">
	            				<img src="${(user.avatar)!}"  width="56px" height="53px"/>
	            			</a>
	            		<#else>
	            			<a href="${base}/space/?domain=${(user.loginName)!}" target="_blank">
	            				<img src="${base}/images/temp/peoimg.jpg" />
	            			</a>
	            		</#if>
						
					</div>
					<div class="peobody">
						<div class="ptitle">
							<span><a href="${base}/space/?domain=${(user.loginName)!}" target="_blank">${(user.name)!}</a></span>
                            <h3>VIP</h3>
						</div>
						<div class="pbody">
							<p>${(user.vocationChinese)!}</p>
                            <p>${(user.vocationEnglish)!}</p>
						</div>
						<div class="pbottom">
							${(user.visitCount)!}
						</div>
                        <div class="pfoot">
                        	<em><a href="#" onClick="applyFriend(${(user.id?c)});">+加关注</a></em>
                        </div>
					</div>
					<div class="clear"></div>
				</div>
				</#list>
				</#if>
				
				
					<#--
					<div class="page">
                    	<span><a href="#"> < </a></span>
                        <ul>
                        	<li onmouseover="this.className='check'" class="check" ><a href="#">1</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">2</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">3</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">4</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">5</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">6</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">7</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">8</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">9</a></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className='none'"><a href="#">10</a></li>
                        </ul>
                        <span><a href="#"> > </a></span>
                    </div>
					-->				

			</div>
            <div class="clear"></div>
        </div>
    </div>
        <script type="text/javascript">        
        //申请朋友
        function applyFriend(targetId){
        	if(!window.confirm("确实要加对方为好友吗？")){
        		return;
        	}
        	if(targetId==''){
        		return false;
        	}
        	 $.ajax({
		        type: "post",
		        dataType: "json",
		        url: "${base}/user/friend/index!apply?time=" + new Date().getTime(),
		        async: false,
		        data: {
		            "userId": targetId
		        },
		        success: function(result){
					if(result){
						alert("已发送请求，请等待对方审核");
					}else{
						alert("申请失败");
					}
		        }
		    });
        }
    </script>
</@front.html>


